package cn.bdqn.dao;

import cn.bdqn.entity.City;
import cn.bdqn.entity.vo.CityVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface CityDao {
    City queryById(Integer cityId);

    List<City> queryAll(@Param("city") CityVO cityVO);

    List<City> likeName(String name);

    long count(City city);

    int insert(City city);
    
    int update(City city);

    int deleteById(Integer cityId);

    List<City> getByCountyCode(@Param("codes") List<Integer> codes);

}

